home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / contrib / makefile < prev    next >
Makefile  |  1992-08-03  |  20KB  |  671 lines

  1. # /usr/local/lib/tex/bibtex/Makefile, Mon Jul  6 12:22:08 1992
  2. # Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
  3. #=======================================================================
  4. # UNIX Makefile for BibTeX 0.99 styles.
  5. #
  6. # Major targets:
  7. #
  8. # all        prepare .dvi files for every style in the collection
  9. #         using test.bib and xampl.bib to illustrate the
  10. #         formatting of various BibTeX entries.
  11. #
  12. # ARCHIVE-FILES    prepare .tar.z, .zip, and .zoo archive files
  13. #
  14. # DVIFILES-TEST    prepare test-*.dvi files
  15. #
  16. # DVIFILES-XAMPL prepare xampl-*.dvi files
  17. #
  18. # PHYSICS-STYLES make ph*.bst files
  19. #
  20. # clean        remove all files that can be regenerated by "make all",
  21. #         except for the test-*.ltx and xampl-*.ltx test files.
  22. #
  23. # clobber    remove all files that can be regenerated by "make all"
  24. #
  25. # There are many other targets for individual files; see the Makefile
  26. # body below.
  27. #
  28. # [05-Aug-1992]
  29. #=======================================================================
  30.  
  31. BIBTEX      =    bibtex
  32.  
  33. CHECKSUM    =    cat >/tmp/bst.2 ; \
  34.         $(HEADER) >/tmp/bst.1 ; \
  35.         cat /tmp/bst.1 /tmp/bst.2 | checksum
  36.  
  37. CLEANUP     =    /bin/rm /tmp/bst.1 /tmp/bst.2
  38.  
  39. CPP         =    /lib/cpp -P
  40.  
  41. COMPRESS    =    compress
  42.  
  43. # DIST-FILES intentionally excludes the btxhak.*, btxdoc.*, and
  44. # bibtex.* files to keep the size of the distribution archive files
  45. # down.  It is intended that these archive files contain just that
  46. # material need to use and test the various styles files.
  47.  
  48. DELETE-BLANK-LINES =    grep -v '^[     ]*$$'
  49.  
  50. # sed command to delete lines beginning with one percent sign
  51. DELETE-ONE-PERCENT =    /bin/sed -e '/^%$$/d' -e '/^%[^%].*$$/d'
  52.  
  53. DIST-FILES  =    Makefile index *.bib *.bst *.btx *.doc *.ltx *.sty *.readme
  54.  
  55. HEADER = (echo "%% =====================================================================" ;\
  56.     echo "%% WARNING: Do NOT edit this file.  It was produced automatically by" ;\
  57.     echo "%% $(PERSONALNAME) <$(USER)@`hostname`>" ;\
  58.     echo "%% from `pwd`/xbtxbst.doc " ;\
  59.     echo "%% on `date`" ;\
  60.     echo "%% =====================================================================")
  61.  
  62. LATEX       =    latex
  63.  
  64. MV          =    /bin/mv
  65.  
  66. PERSONALNAME =    "`ypcat passwd | grep '^'$(USER)':' | awk -F: '{print $$5}'`"
  67.  
  68. RM          =    /bin/rm -f
  69.  
  70. SED         =    /bin/sed
  71.  
  72. SHELL       =    /bin/sh
  73.  
  74. STYLE       =    plain
  75.  
  76. STYLES      =    aaai-named abbrv abstract acm agsm alpha amsalpha \
  77.         amsplain annotate annotation apa apalike apalike2 \
  78.         astron authordate1 authordate2 authordate3 authordate4 \
  79.         bbs cbe cell chicago chicagoa dcu humanbio humannat \
  80.         ieeetr is-abbrv is-alpha is-plain is-unsrt jbact jmb \
  81.         jtb kluwer named namunsrt nar nature newapa phaip \
  82.         phapalik phcpc phiaea phjcp phnf phnflet phpf phppcf \
  83.         phreport phrmp plain plainyr siam unsrt
  84.  
  85. TAR         =    tar
  86.  
  87. UNZIP       =    unzip
  88.  
  89. ZIP         =    zip
  90.  
  91. ZOO         =    zoo
  92.  
  93. #=======================================================================
  94.  
  95. .SUFFIXES:
  96.  
  97. .SUFFIXES:    .dvi .ltx
  98.  
  99. .ltx.dvi:
  100.     $(LATEX) $<
  101.     $(BIBTEX) $*
  102.     $(LATEX) $<
  103.     $(LATEX) $<
  104.  
  105. #=======================================================================
  106.  
  107. all:    AUTHORDATE DVIFILES-TEST DVIFILES-XAMPL
  108.  
  109. ARCHIVE-FILES:    bstfiles.tar.z bstfiles.tar-lst bstfiles.zip-lst bstfiles.zoo-lst
  110.     $(RM) bstfiles.tar
  111.  
  112. AUTHORDATE:    authordate1.dvi authordate2.dvi authordate3.dvi authordate4.dvi
  113.  
  114. authordate1.dvi:    authordate1.ltx test.bib testadb.ltx
  115.  
  116. authordate2.dvi:    authordate2.ltx test.bib testadb.ltx
  117.  
  118. authordate3.dvi:    authordate3.ltx test.bib testadb.ltx
  119.  
  120. authordate4.dvi:    authordate4.ltx test.bib testadb.ltx
  121.  
  122. bstfiles.tar:    $(DIST-FILES)
  123.     $(RM) $@
  124.     $(TAR) cf $@ $(DIST-FILES)
  125.  
  126. bstfiles.tar-lst:    bstfiles.tar
  127.     $(TAR) tvf bstfiles.tar >$@
  128.  
  129. bstfiles.tar.z:    bstfiles.tar
  130.     $(COMPRESS) <bstfiles.tar >bstfiles.tar.z
  131.  
  132. bstfiles.zip:    $(DIST-FILES)
  133.     $(RM) $@
  134.     $(ZIP) $@ $(DIST-FILES)
  135.  
  136. bstfiles.zip-lst:    bstfiles.zip
  137.     $(UNZIP) -v bstfiles.zip >$@
  138.  
  139. bstfiles.zoo:    $(DIST-FILES)
  140.     $(RM) $@
  141.     $(ZOO) a $@ $(DIST-FILES)
  142.  
  143. bstfiles.zoo-lst:    bstfiles.zoo
  144.     $(ZOO) v bstfiles.zoo >$@
  145.  
  146. clean:
  147.     -$(RM) *.aux
  148.     -$(RM) *.blg
  149.     -$(RM) *.dvi
  150.     -$(RM) *.log
  151.     -$(RM) *~
  152.     -$(RM) \#*
  153.     -$(RM) a.out
  154.     -$(RM) core
  155.     -$(RM) authordate*.bbl
  156.     -$(RM) test-*.bbl
  157.     -$(RM) xampl-*.bbl
  158.     -$(RM) bstfiles.tar* bstfiles.zip* bstfiles.zoo*
  159.  
  160. clobber:    clean
  161.     -$(RM) test-*.ltx
  162.     -$(RM) xampl-*.ltx
  163.  
  164. DVIFILES-TEST:
  165.     for f in $(STYLES) ; \
  166.     do \
  167.         make STYLE=$$f test-$$f.dvi ;\
  168.     done
  169.  
  170. DVIFILES-XAMPL:
  171.     for f in $(STYLES) ; \
  172.     do \
  173.         make STYLE=$$f xampl-$$f.dvi ;\
  174.     done
  175.  
  176. is-abbrv.bst:    xbtxbst.doc
  177.     $(CPP) -DABBRV xbtxbst.doc | \
  178.         $(DELETE-ONE-PERCENT) -e 's/"xbtxbst.doc"/"is-abbrv.bst"/' | \
  179.         $(CHECKSUM) >is-abbrv.bst
  180.     $(CLEANUP)
  181.  
  182. is-alpha.bst:    xbtxbst.doc
  183.     $(CPP) -DALPHA xbtxbst.doc | \
  184.         $(DELETE-ONE-PERCENT)  -e 's/"xbtxbst.doc"/"is-alpha.bst"/' | \
  185.         $(CHECKSUM) >is-alpha.bst
  186.     $(CLEANUP)
  187.  
  188. is-plain.bst:    xbtxbst.doc
  189.     $(CPP) -DPLAIN xbtxbst.doc | \
  190.         $(DELETE-ONE-PERCENT)  -e 's/"xbtxbst.doc"/"is-plain.bst"/' | \
  191.         $(CHECKSUM) >is-plain.bst
  192.     $(CLEANUP)
  193.  
  194. is-unsrt.bst:    xbtxbst.doc
  195.     $(CPP) -DUNSRT xbtxbst.doc | \
  196.         $(DELETE-ONE-PERCENT)  -e 's/"xbtxbst.doc"/"is-unsrt.bst"/' | \
  197.         $(CHECKSUM) >is-unsrt.bst
  198.     $(CLEANUP)
  199.  
  200. phaip.bst:    phyjfull.btx physics.btx
  201.     $(CPP) -DAIP <physics.btx | $(DELETE-BLANK-LINES) >phaip.bst
  202.  
  203. phapalik.bst:    phyjfull.btx physics.btx
  204.     $(CPP) -DAPALIKE <physics.btx | $(DELETE-BLANK-LINES) >phapalik.bst
  205.  
  206. phcpc.bst:    phyjfull.btx physics.btx
  207.     $(CPP) -DCPC <physics.btx | $(DELETE-BLANK-LINES) >phcpc.bst
  208.  
  209. phiaea.bst:    phyjfull.btx physics.btx
  210.     $(CPP) -DIAEA <physics.btx | $(DELETE-BLANK-LINES) >phiaea.bst
  211.  
  212. phjcp.bst:    phyjfull.btx physics.btx
  213.     $(CPP) -DJCP <physics.btx | $(DELETE-BLANK-LINES) >phjcp.bst
  214.  
  215. phnf.bst:    phyjfull.btx physics.btx
  216.     $(CPP) -DNF <physics.btx | $(DELETE-BLANK-LINES) >phnf.bst
  217.  
  218. phnflet.bst:    phyjfull.btx physics.btx
  219.     $(CPP) -DNFLET <physics.btx | $(DELETE-BLANK-LINES) >phnflet.bst
  220.  
  221. phpf.bst:    phyjfull.btx physics.btx
  222.     $(CPP) -DPF <physics.btx | $(DELETE-BLANK-LINES) >phpf.bst
  223.  
  224. phppcf.bst:    phyjfull.btx physics.btx
  225.     $(CPP) -DPPCF <physics.btx | $(DELETE-BLANK-LINES) >phppcf.bst
  226.  
  227. phreport.bst:    phyjfull.btx physics.btx
  228.     $(CPP) -DREPORT <physics.btx | $(DELETE-BLANK-LINES) >phreport.bst
  229.  
  230. phrmp.bst:    phyjfull.btx physics.btx
  231.     $(CPP) -DRMP <physics.btx | $(DELETE-BLANK-LINES) >phrmp.bst
  232.  
  233. PHYSICS-STYLES: phaip.bst phapalik.bst phcpc.bst phiaea.bst phjcp.bst \
  234.         phnf.bst phnflet.bst phpf.bst phppcf.bst phreport.bst \
  235.         phrmp.bst
  236.  
  237. test-$(STYLE).ltx:    test.ltx $(STYLE).bst
  238.     $(SED) -e 's/{plain}/{'$(STYLE)'}/g' <test.ltx >test-$(STYLE).ltx
  239.  
  240. # Special rules for styles that require an additional LaTeX style option:
  241.  
  242. test-aaai-named.dvi:    aaai-named.bst test.ltx authordate1-4.sty
  243.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  244.         -e 's/{plain}/{'aaai-named'}/g' \
  245.         <test.ltx >/tmp/test-aaai-named.ltx
  246.     $(MV) /tmp/test-aaai-named.ltx .
  247.     $(LATEX) test-aaai-named.ltx
  248.     $(BIBTEX) test-aaai-named
  249.     $(LATEX) test-aaai-named.ltx
  250.     $(LATEX) test-aaai-named.ltx
  251.  
  252. test-agsm.dvi:    agsm.bst test.ltx harvard.sty
  253.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  254.         -e 's/{plain}/{'agsm'}/g' \
  255.         <test.ltx >/tmp/test-agsm.ltx
  256.     $(MV) /tmp/test-agsm.ltx .
  257.     $(LATEX) test-agsm.ltx
  258.     $(BIBTEX) test-agsm
  259.     $(LATEX) test-agsm.ltx
  260.     $(LATEX) test-agsm.ltx
  261.  
  262. test-apa.dvi:    apa.bst test.ltx harvard.sty
  263.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  264.         -e 's/{plain}/{'apa'}/g' \
  265.         <test.ltx >/tmp/test-apa.ltx
  266.     $(MV) /tmp/test-apa.ltx .
  267.     $(LATEX) test-apa.ltx
  268.     $(BIBTEX) test-apa
  269.     $(LATEX) test-apa.ltx
  270.     $(LATEX) test-apa.ltx
  271.  
  272. test-astron.dvi:    astron.bst test.ltx astron/astron.sty
  273.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  274.         -e 's/{plain}/{'astron'}/g' \
  275.         <test.ltx >/tmp/test-astron.ltx
  276.     $(MV) /tmp/test-astron.ltx .
  277.     $(LATEX) test-astron.ltx
  278.     $(BIBTEX) test-astron
  279.     $(LATEX) test-astron.ltx
  280.     $(LATEX) test-astron.ltx
  281.  
  282. test-authordate1.dvi:    authordate1.bst test.ltx authordate1-4.sty
  283.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  284.         -e 's/{plain}/{'authordate1'}/g' \
  285.         <test.ltx >/tmp/test-authordate1.ltx
  286.     $(MV) /tmp/test-authordate1.ltx .
  287.     $(LATEX) test-authordate1.ltx
  288.     $(BIBTEX) test-authordate1
  289.     $(LATEX) test-authordate1.ltx
  290.     $(LATEX) test-authordate1.ltx
  291.  
  292. test-authordate2.dvi:    authordate2.bst test.ltx authordate1-4.sty
  293.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  294.         -e 's/{plain}/{'authordate2'}/g' \
  295.         <test.ltx >/tmp/test-authordate2.ltx
  296.     $(MV) /tmp/test-authordate2.ltx .
  297.     $(LATEX) test-authordate2.ltx
  298.     $(BIBTEX) test-authordate2
  299.     $(LATEX) test-authordate2.ltx
  300.     $(LATEX) test-authordate2.ltx
  301.  
  302. test-authordate3.dvi:    authordate3.bst test.ltx authordate1-4.sty
  303.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  304.         -e 's/{plain}/{'authordate3'}/g' \
  305.         <test.ltx >/tmp/test-authordate3.ltx
  306.     $(MV) /tmp/test-authordate3.ltx .
  307.     $(LATEX) test-authordate3.ltx
  308.     $(BIBTEX) test-authordate3
  309.     $(LATEX) test-authordate3.ltx
  310.     $(LATEX) test-authordate3.ltx
  311.  
  312. test-authordate4.dvi:    authordate4.bst test.ltx authordate1-4.sty
  313.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  314.         -e 's/{plain}/{'authordate4'}/g' \
  315.         <test.ltx >/tmp/test-authordate4.ltx
  316.     $(MV) /tmp/test-authordate4.ltx .
  317.     $(LATEX) test-authordate4.ltx
  318.     $(BIBTEX) test-authordate4
  319.     $(LATEX) test-authordate4.ltx
  320.     $(LATEX) test-authordate4.ltx
  321.  
  322. test-bbs.dvi:    bbs.bst test.ltx harvard.sty
  323.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  324.         -e 's/{plain}/{'bbs'}/g' \
  325.         <test.ltx >/tmp/test-bbs.ltx
  326.     $(MV) /tmp/test-bbs.ltx .
  327.     $(LATEX) test-bbs.ltx
  328.     $(BIBTEX) test-bbs
  329.     $(LATEX) test-bbs.ltx
  330.     $(LATEX) test-bbs.ltx
  331.  
  332. test-cbe.dvi:    cbe.bst test.ltx harvard.sty
  333.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  334.         -e 's/{plain}/{'cbe'}/g' \
  335.         <test.ltx >/tmp/test-cbe.ltx
  336.     $(MV) /tmp/test-cbe.ltx .
  337.     $(LATEX) test-cbe.ltx
  338.     $(BIBTEX) test-cbe
  339.     $(LATEX) test-cbe.ltx
  340.     $(LATEX) test-cbe.ltx
  341.  
  342. test-chicago.dvi:    chicago.bst test.ltx harvard.sty
  343.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[chicago]/g' \
  344.         -e 's/{plain}/{'chicago'}/g' \
  345.         <test.ltx >/tmp/test-chicago.ltx
  346.     $(MV) /tmp/test-chicago.ltx .
  347.     $(LATEX) test-chicago.ltx
  348.     $(BIBTEX) test-chicago
  349.     $(LATEX) test-chicago.ltx
  350.     $(LATEX) test-chicago.ltx
  351.  
  352. test-chicagoa.dvi:    chicago.bst test.ltx harvard.sty
  353.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[chicago]/g' \
  354.         -e 's/{plain}/{'chicagoa'}/g' \
  355.         <test.ltx >/tmp/test-chicagoa.ltx
  356.     $(MV) /tmp/test-chicagoa.ltx .
  357.     $(LATEX) test-chicagoa.ltx
  358.     $(BIBTEX) test-chicagoa
  359.     $(LATEX) test-chicagoa.ltx
  360.     $(LATEX) test-chicagoa.ltx
  361.  
  362. test-dcu.dvi:    dcu.bst test.ltx harvard.sty
  363.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  364.         -e 's/{plain}/{'dcu'}/g' \
  365.         <test.ltx >/tmp/test-dcu.ltx
  366.     $(MV) /tmp/test-dcu.ltx .
  367.     $(LATEX) test-dcu.ltx
  368.     $(BIBTEX) test-dcu
  369.     $(LATEX) test-dcu.ltx
  370.     $(LATEX) test-dcu.ltx
  371.  
  372. test-humanbio.dvi:    humanbio.bst test.ltx harvard.sty
  373.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  374.         -e 's/{plain}/{'humanbio'}/g' \
  375.         <test.ltx >/tmp/test-humanbio.ltx
  376.     $(MV) /tmp/test-humanbio.ltx .
  377.     $(LATEX) test-humanbio.ltx
  378.     $(BIBTEX) test-humanbio
  379.     $(LATEX) test-humanbio.ltx
  380.     $(LATEX) test-humanbio.ltx
  381.  
  382. test-humannat.dvi:    humannat.bst test.ltx harvard.sty
  383.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  384.         -e 's/{plain}/{'humannat'}/g' \
  385.         <test.ltx >/tmp/test-humannat.ltx
  386.     $(MV) /tmp/test-humannat.ltx .
  387.     $(LATEX) test-humannat.ltx
  388.     $(BIBTEX) test-humannat
  389.     $(LATEX) test-humannat.ltx
  390.     $(LATEX) test-humannat.ltx
  391.  
  392. test-jmb.dvi:    jmb.bst test.ltx jmb.sty
  393.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[jmb]/g' \
  394.         -e 's/{plain}/{'jmb'}/g' \
  395.         <test.ltx >/tmp/test-jmb.ltx
  396.     $(MV) /tmp/test-jmb.ltx .
  397.     $(LATEX) test-jmb.ltx
  398.     $(BIBTEX) test-jmb
  399.     $(LATEX) test-jmb.ltx
  400.     $(LATEX) test-jmb.ltx
  401.  
  402. test-jtb.dvi:    jtb.bst test.ltx harvard.sty
  403.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  404.         -e 's/{plain}/{'jtb'}/g' \
  405.         <test.ltx >/tmp/test-jtb.ltx
  406.     $(MV) /tmp/test-jtb.ltx .
  407.     $(LATEX) test-jtb.ltx
  408.     $(BIBTEX) test-jtb
  409.     $(LATEX) test-jtb.ltx
  410.     $(LATEX) test-jtb.ltx
  411.  
  412. test-kluwer.dvi:    kluwer.bst test.ltx harvard.sty
  413.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  414.         -e 's/{plain}/{'kluwer'}/g' \
  415.         <test.ltx >/tmp/test-kluwer.ltx
  416.     $(MV) /tmp/test-kluwer.ltx .
  417.     $(LATEX) test-kluwer.ltx
  418.     $(BIBTEX) test-kluwer
  419.     $(LATEX) test-kluwer.ltx
  420.     $(LATEX) test-kluwer.ltx
  421.  
  422. test-named.dvi:    named.bst named.sty test.ltx
  423.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[named]/g' \
  424.         -e 's/{plain}/{'named'}/g' \
  425.         <test.ltx >/tmp/test-named.ltx
  426.     $(MV) /tmp/test-named.ltx .
  427.     $(LATEX) test-named.ltx
  428.     $(BIBTEX) test-named
  429.     $(LATEX) test-named.ltx
  430.     $(LATEX) test-named.ltx
  431.  
  432. test-nar.dvi:    nar.bst test.ltx nar.sty
  433.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[nar]/g' \
  434.         -e 's/{plain}/{'nar'}/g' \
  435.         <test.ltx >/tmp/test-nar.ltx
  436.     $(MV) /tmp/test-nar.ltx .
  437.     $(LATEX) test-nar.ltx
  438.     $(BIBTEX) test-nar
  439.     $(LATEX) test-nar.ltx
  440.     $(LATEX) test-nar.ltx
  441.  
  442. test-newapa.dvi:    newapa.bst newapa.sty test.ltx apalike.sty
  443.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[apalike,newapa]/g' \
  444.         -e 's/{plain}/{'newapa'}/g' \
  445.         <test.ltx >/tmp/test-newapa.ltx
  446.     $(MV) /tmp/test-newapa.ltx .
  447.     @echo ============================================================
  448.     @echo Expect BibTeX and LaTeX errors here: newapa.bst does not
  449.     @echo correctly handle some of the entries in test.bib.  A solution
  450.     @echo has yet to be identified.
  451.     @echo ============================================================
  452.     $(LATEX) test-newapa.ltx
  453.     $(BIBTEX) test-newapa
  454.     $(LATEX) test-newapa.ltx
  455.     $(LATEX) test-newapa.ltx
  456.  
  457. xampl-$(STYLE).ltx:    xampl.ltx $(STYLE).bst
  458.     $(SED) -e 's/{plain}/{'$(STYLE)'}/g' <xampl.ltx >xampl-$(STYLE).ltx
  459.  
  460. # Special rules for styles that require an additional LaTeX style option:
  461.  
  462. xampl-aaai-named.dvi:    aaai-named.bst xampl.ltx authordate1-4.sty
  463.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  464.         -e 's/{plain}/{'aaai-named'}/g' \
  465.         <xampl.ltx >/tmp/xampl-aaai-named.ltx
  466.     $(MV) /tmp/xampl-aaai-named.ltx .
  467.     $(LATEX) xampl-aaai-named.ltx
  468.     $(BIBTEX) xampl-aaai-named
  469.     $(LATEX) xampl-aaai-named.ltx
  470.     $(LATEX) xampl-aaai-named.ltx
  471.  
  472. xampl-agsm.dvi:    agsm.bst xampl.ltx harvard.sty
  473.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  474.         -e 's/{plain}/{'agsm'}/g' \
  475.         <xampl.ltx >/tmp/xampl-agsm.ltx
  476.     $(MV) /tmp/xampl-agsm.ltx .
  477.     $(LATEX) xampl-agsm.ltx
  478.     $(BIBTEX) xampl-agsm
  479.     $(LATEX) xampl-agsm.ltx
  480.     $(LATEX) xampl-agsm.ltx
  481.  
  482. xampl-apa.dvi:    apa.bst xampl.ltx harvard.sty
  483.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  484.         -e 's/{plain}/{'apa'}/g' \
  485.         <xampl.ltx >/tmp/xampl-apa.ltx
  486.     $(MV) /tmp/xampl-apa.ltx .
  487.     $(LATEX) xampl-apa.ltx
  488.     $(BIBTEX) xampl-apa
  489.     $(LATEX) xampl-apa.ltx
  490.     $(LATEX) xampl-apa.ltx
  491.  
  492. xampl-astron.dvi:    astron.bst xampl.ltx astron/astron.sty
  493.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  494.         -e 's/{plain}/{'astron'}/g' \
  495.         <xampl.ltx >/tmp/xampl-astron.ltx
  496.     $(MV) /tmp/xampl-astron.ltx .
  497.     $(LATEX) xampl-astron.ltx
  498.     $(BIBTEX) xampl-astron
  499.     $(LATEX) xampl-astron.ltx
  500.     $(LATEX) xampl-astron.ltx
  501.  
  502. xampl-authordate1.dvi:    authordate1.bst xampl.ltx authordate1-4.sty
  503.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  504.         -e 's/{plain}/{'authordate1'}/g' \
  505.         <xampl.ltx >/tmp/xampl-authordate1.ltx
  506.     $(MV) /tmp/xampl-authordate1.ltx .
  507.     $(LATEX) xampl-authordate1.ltx
  508.     $(BIBTEX) xampl-authordate1
  509.     $(LATEX) xampl-authordate1.ltx
  510.     $(LATEX) xampl-authordate1.ltx
  511.  
  512. xampl-authordate2.dvi:    authordate2.bst xampl.ltx authordate1-4.sty
  513.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  514.         -e 's/{plain}/{'authordate2'}/g' \
  515.         <xampl.ltx >/tmp/xampl-authordate2.ltx
  516.     $(MV) /tmp/xampl-authordate2.ltx .
  517.     $(LATEX) xampl-authordate2.ltx
  518.     $(BIBTEX) xampl-authordate2
  519.     $(LATEX) xampl-authordate2.ltx
  520.     $(LATEX) xampl-authordate2.ltx
  521.  
  522. xampl-authordate3.dvi:    authordate3.bst xampl.ltx authordate1-4.sty
  523.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  524.         -e 's/{plain}/{'authordate3'}/g' \
  525.         <xampl.ltx >/tmp/xampl-authordate3.ltx
  526.     $(MV) /tmp/xampl-authordate3.ltx .
  527.     $(LATEX) xampl-authordate3.ltx
  528.     $(BIBTEX) xampl-authordate3
  529.     $(LATEX) xampl-authordate3.ltx
  530.     $(LATEX) xampl-authordate3.ltx
  531.  
  532. xampl-authordate4.dvi:    authordate4.bst xampl.ltx authordate1-4.sty
  533.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[authordate1-4]/g' \
  534.         -e 's/{plain}/{'authordate4'}/g' \
  535.         <xampl.ltx >/tmp/xampl-authordate4.ltx
  536.     $(MV) /tmp/xampl-authordate4.ltx .
  537.     $(LATEX) xampl-authordate4.ltx
  538.     $(BIBTEX) xampl-authordate4
  539.     $(LATEX) xampl-authordate4.ltx
  540.     $(LATEX) xampl-authordate4.ltx
  541.  
  542. xampl-bbs.dvi:    bbs.bst xampl.ltx harvard.sty
  543.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  544.         -e 's/{plain}/{'bbs'}/g' \
  545.         <xampl.ltx >/tmp/xampl-bbs.ltx
  546.     $(MV) /tmp/xampl-bbs.ltx .
  547.     $(LATEX) xampl-bbs.ltx
  548.     $(BIBTEX) xampl-bbs
  549.     $(LATEX) xampl-bbs.ltx
  550.     $(LATEX) xampl-bbs.ltx
  551.  
  552. xampl-cbe.dvi:    cbe.bst xampl.ltx harvard.sty
  553.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  554.         -e 's/{plain}/{'cbe'}/g' \
  555.         <xampl.ltx >/tmp/xampl-cbe.ltx
  556.     $(MV) /tmp/xampl-cbe.ltx .
  557.     $(LATEX) xampl-cbe.ltx
  558.     $(BIBTEX) xampl-cbe
  559.     $(LATEX) xampl-cbe.ltx
  560.     $(LATEX) xampl-cbe.ltx
  561.  
  562. xampl-chicago.dvi:    apa.bst xampl.ltx harvard.sty
  563.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[chicago]/g' \
  564.         -e 's/{plain}/{'chicago'}/g' \
  565.         <xampl.ltx >/tmp/xampl-chicago.ltx
  566.     $(MV) /tmp/xampl-chicago.ltx .
  567.     $(LATEX) xampl-chicago.ltx
  568.     $(BIBTEX) xampl-chicago
  569.     $(LATEX) xampl-chicago.ltx
  570.     $(LATEX) xampl-chicago.ltx
  571.  
  572. xampl-chicagoa.dvi:    chicago.bst xampl.ltx harvard.sty
  573.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[chicago]/g' \
  574.         -e 's/{plain}/{'chicagoa'}/g' \
  575.         <xampl.ltx >/tmp/xampl-chicagoa.ltx
  576.     $(MV) /tmp/xampl-chicagoa.ltx .
  577.     $(LATEX) xampl-chicagoa.ltx
  578.     $(BIBTEX) xampl-chicagoa
  579.     $(LATEX) xampl-chicagoa.ltx
  580.     $(LATEX) xampl-chicagoa.ltx
  581.  
  582. xampl-dcu.dvi:    dcu.bst xampl.ltx harvard.sty
  583.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  584.         -e 's/{plain}/{'dcu'}/g' \
  585.         <xampl.ltx >/tmp/xampl-dcu.ltx
  586.     $(MV) /tmp/xampl-dcu.ltx .
  587.     $(LATEX) xampl-dcu.ltx
  588.     $(BIBTEX) xampl-dcu
  589.     $(LATEX) xampl-dcu.ltx
  590.     $(LATEX) xampl-dcu.ltx
  591.  
  592. xampl-humanbio.dvi:    humanbio.bst xampl.ltx harvard.sty
  593.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  594.         -e 's/{plain}/{'humanbio'}/g' \
  595.         <xampl.ltx >/tmp/xampl-humanbio.ltx
  596.     $(MV) /tmp/xampl-humanbio.ltx .
  597.     $(LATEX) xampl-humanbio.ltx
  598.     $(BIBTEX) xampl-humanbio
  599.     $(LATEX) xampl-humanbio.ltx
  600.     $(LATEX) xampl-humanbio.ltx
  601.  
  602. xampl-humannat.dvi:    humannat.bst xampl.ltx harvard.sty
  603.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  604.         -e 's/{plain}/{'humannat'}/g' \
  605.         <xampl.ltx >/tmp/xampl-humannat.ltx
  606.     $(MV) /tmp/xampl-humannat.ltx .
  607.     $(LATEX) xampl-humannat.ltx
  608.     $(BIBTEX) xampl-humannat
  609.     $(LATEX) xampl-humannat.ltx
  610.     $(LATEX) xampl-humannat.ltx
  611.  
  612. xampl-jmb.dvi:    jmb.bst xampl.ltx jmb.sty
  613.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[jmb]/g' \
  614.         -e 's/{plain}/{'jmb'}/g' \
  615.         <xampl.ltx >/tmp/xampl-jmb.ltx
  616.     $(MV) /tmp/xampl-jmb.ltx .
  617.     $(LATEX) xampl-jmb.ltx
  618.     $(BIBTEX) xampl-jmb
  619.     $(LATEX) xampl-jmb.ltx
  620.     $(LATEX) xampl-jmb.ltx
  621.  
  622. xampl-jtb.dvi:    jtb.bst xampl.ltx harvard.sty
  623.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[astron]/g' \
  624.         -e 's/{plain}/{'jtb'}/g' \
  625.         <xampl.ltx >/tmp/xampl-jtb.ltx
  626.     $(MV) /tmp/xampl-jtb.ltx .
  627.     $(LATEX) xampl-jtb.ltx
  628.     $(BIBTEX) xampl-jtb
  629.     $(LATEX) xampl-jtb.ltx
  630.     $(LATEX) xampl-jtb.ltx
  631.  
  632. xampl-kluwer.dvi:    kluwer.bst xampl.ltx harvard.sty
  633.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[harvard]/g' \
  634.         -e 's/{plain}/{'kluwer'}/g' \
  635.         <xampl.ltx >/tmp/xampl-kluwer.ltx
  636.     $(MV) /tmp/xampl-kluwer.ltx .
  637.     $(LATEX) xampl-kluwer.ltx
  638.     $(BIBTEX) xampl-kluwer
  639.     $(LATEX) xampl-kluwer.ltx
  640.     $(LATEX) xampl-kluwer.ltx
  641.  
  642. xampl-named.dvi:    named.bst named.sty xampl.ltx
  643.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[named]/g' \
  644.         -e 's/{plain}/{'named'}/g' \
  645.         <xampl.ltx >/tmp/xampl-named.ltx
  646.     $(MV) /tmp/xampl-named.ltx .
  647.     $(LATEX) xampl-named.ltx
  648.     $(BIBTEX) xampl-named
  649.     $(LATEX) xampl-named.ltx
  650.     $(LATEX) xampl-named.ltx
  651.  
  652. xampl-nar.dvi:    nar.bst xampl.ltx nar.sty
  653.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[nar]/g' \
  654.         -e 's/{plain}/{'nar'}/g' \
  655.         <xampl.ltx >/tmp/xampl-nar.ltx
  656.     $(MV) /tmp/xampl-nar.ltx .
  657.     $(LATEX) xampl-nar.ltx
  658.     $(BIBTEX) xampl-nar
  659.     $(LATEX) xampl-nar.ltx
  660.     $(LATEX) xampl-nar.ltx
  661.  
  662. xampl-newapa.dvi:    newapa.bst newapa.sty xampl.ltx apalike.sty
  663.     $(SED) -e 's/\\documentstyle\[\]/\\documentstyle[apalike,newapa]/g' \
  664.         -e 's/{plain}/{'newapa'}/g' \
  665.         <xampl.ltx >/tmp/xampl-newapa.ltx
  666.     $(MV) /tmp/xampl-newapa.ltx .
  667.     $(LATEX) xampl-newapa.ltx
  668.     $(BIBTEX) xampl-newapa
  669.     $(LATEX) xampl-newapa.ltx
  670.     $(LATEX) xampl-newapa.ltx
  671.